package cn.com.cifi.mars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 监控设置明细
 * </p>
 *
 * @author plx
 * @since 2020-02-05
 */
@TableName("t_monitor_config_detail")
public class MonitorConfigDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 机构标识
     */
    private String orgid;

    /**
     * 监控设置id
     */
    private String monitorId;

    /**
     * 监控设置明细类型(1健康标准2提醒标准3预警标准)
     */
    private String monitorType;

    /**
     * 最小值1
     */
    private Double minValue1;

    /**
     * 运算符1(1无|2小于<|3小于等于≤)
     */
    @TableField("operator_1")
    private String operator1;

    /**
     * 运算符2(1无|2小于<|3小于等于≤)
     */
    @TableField("operator_2")
    private String operator2;

    /**
     * 最大值1
     */
    private Double maxValue1;

    /**
     * 条件类型(0默认 1或 2且) 【另：该字段可做排序使用】
     */
    private String conditionType;

    /**
     * 最小值2
     */
    private Double minValue2;

    /**
     * 运算符3(1无|2小于<|3小于等于≤)
     */
    @TableField("operator_3")
    private String operator3;

    /**
     * 运算符4(1无|2小于<|3小于等于≤)
     */
    @TableField("operator_4")
    private String operator4;

    /**
     * 最大值2
     */
    private Double maxValue2;

    /**
     * 更新时间
     */
    private LocalDateTime updatetime;

    /**
     * 删除标记(0默认 1删除)
     */
    private String isdelete;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getOrgid() {
        return orgid;
    }

    public void setOrgid(String orgid) {
        this.orgid = orgid;
    }
    public String getMonitorId() {
        return monitorId;
    }

    public void setMonitorId(String monitorId) {
        this.monitorId = monitorId;
    }
    public String getMonitorType() {
        return monitorType;
    }

    public void setMonitorType(String monitorType) {
        this.monitorType = monitorType;
    }
    public Double getMinValue1() {
        return minValue1;
    }

    public void setMinValue1(Double minValue1) {
        this.minValue1 = minValue1;
    }
    public String getOperator1() {
        return operator1;
    }

    public void setOperator1(String operator1) {
        this.operator1 = operator1;
    }
    public String getOperator2() {
        return operator2;
    }

    public void setOperator2(String operator2) {
        this.operator2 = operator2;
    }
    public Double getMaxValue1() {
        return maxValue1;
    }

    public void setMaxValue1(Double maxValue1) {
        this.maxValue1 = maxValue1;
    }
    public String getConditionType() {
        return conditionType;
    }

    public void setConditionType(String conditionType) {
        this.conditionType = conditionType;
    }
    public Double getMinValue2() {
        return minValue2;
    }

    public void setMinValue2(Double minValue2) {
        this.minValue2 = minValue2;
    }
    public String getOperator3() {
        return operator3;
    }

    public void setOperator3(String operator3) {
        this.operator3 = operator3;
    }
    public String getOperator4() {
        return operator4;
    }

    public void setOperator4(String operator4) {
        this.operator4 = operator4;
    }
    public Double getMaxValue2() {
        return maxValue2;
    }

    public void setMaxValue2(Double maxValue2) {
        this.maxValue2 = maxValue2;
    }
    public LocalDateTime getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(LocalDateTime updatetime) {
        this.updatetime = updatetime;
    }
    public String getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(String isdelete) {
        this.isdelete = isdelete;
    }

    @Override
    public String toString() {
        return "MonitorConfigDetail{" +
        "id=" + id +
        ", orgid=" + orgid +
        ", monitorId=" + monitorId +
        ", monitorType=" + monitorType +
        ", minValue1=" + minValue1 +
        ", operator1=" + operator1 +
        ", operator2=" + operator2 +
        ", maxValue1=" + maxValue1 +
        ", conditionType=" + conditionType +
        ", minValue2=" + minValue2 +
        ", operator3=" + operator3 +
        ", operator4=" + operator4 +
        ", maxValue2=" + maxValue2 +
        ", updatetime=" + updatetime +
        ", isdelete=" + isdelete +
        "}";
    }
}
